package cn.sciento.oauth;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

import cn.sciento.autoconfigure.oauth.EnableSTongOauth;

/**
 * STONG 认证服务
 */
@EnableSTongOauth
@EnableDiscoveryClient
@SpringBootApplication
public class OauthApplication {

    public static void main(String[] args) {
        try {
            SpringApplication.run(OauthApplication.class, args);
        } catch (Throwable e) {
            e.printStackTrace();
        }
    }

}

